package com.mybatis_plusnew.mybatis_plusnew.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;


@Data
public class Product {
    private Long id;
    private String name;
    private Integer price;
    @Version //添加乐观锁版本号
    private Integer version;
}
